Optimized integrity verification procedures

ABSTRACT

Some embodiments of the invention provide a method of verifying the integrity of digital content. At a source of the digital content, the method generates a signature for the digital content by applying a hashing function to a particular portion of the digital content, where the particular portion is less than the entire digital content. The method supplies the signature and the digital content to a device. At the device, the method applies the hashing function to the particular portion of the digital content in order to verify the supplied signature, and thereby verifies the integrity of the supplied digital content.

FIELD OF THE INVENTION

The present invention relates to optimized integrity verification procedures.

BACKGROUND OF THE INVENTION

The protection of digital content transferred between computers over a network is fundamentally important for many enterprises today. Enterprises attempt to secure this protection by implementing some form of Digital Rights Management (DRM) process. The DRM process often involves encrypting the piece of content (e.g., encrypting the binary form of the content) to restrict usage to those who have been granted a right to the content.

Cryptography is the traditional method of protecting digital content, such as data in transit across a network. In its typical application, cryptography protects digital content between two mutually trusting parties from thievery by attack on the data in transit. However, for many digital file transfer applications today (e.g., for the transfer of audio or video content), the paradigm has shifted, as a party that receives the content (i.e. the “receiving party”) might try to break the DRM encryption that the party that supplied the content (i.e., the “distributing party”) applied to the content. In addition, with the proliferation of network penetration attacks, a third party may obtain access to the receiving party's computer and thus to the protected content.

In addition to the encryption and decryption, digital content may need other layers of protection. Authentication is another important layer of protection. When receiving digital content, the receiver often needs to “authenticate” the source of the digital content. In other words, the receiver need to verify the integrity of the digital content by ensuring that the content came from an authenticated source and was not tampered on its way to the receiver.

To date, several processes for authenticating the integrity of digital content have been proposed. These processes typically apply a hashing function to the plaintext version of the content in order to produce a hash digest (also called a hash or a digest), which is then used to produce a signature for the content. A functional property of all hash functions is that if two hashes are different, then the two inputs were different in some way. When two hashes are identical for the different inputs, it is a hash collision. It is the important in a cryptographic system that the hash function has a very low collision probability.

Traditionally integrity verification processes are computationally intensive, especially for portable devices with limited computational resources. Therefore, there is a need in the art for an integrity verification process that is less computationally intensive. Ideally, such a process would allow a portable device to quickly verify the integrity of digital content it receives.

SUMMARY OF THE INVENTION

Some embodiments of the invention provide a method of verifying the integrity digital content. At a source of the digital content, the method generates a signature for the digital content by applying a hashing function to a particular portion of the digital content, where the particular portion is less than the entire digital content. The method supplies the signature and the digital content to a device. At the device, the method applies the hashing function to the particular portion of the digital content in order to verify the integrity the supplied signature, and thereby verify the integrity of the supplied digital content.

The particular portion of the digital content includes several different sections of the digital content. In some embodiments, the method configures the source and the device to select a predetermined set of sections of the digital content as the particular portion of the digital content. The device in some embodiments includes a read-only memory that (1) stores code for identifying the particular potion, and (2) stores the hashing function.

In some embodiments, the method generates a signature for the digital content at the source by (1) applying the hashing function to the particular portion to generate a hash digest, and then (2) generating the signature from the hash digest. The method can be implemented in either an asymmetric or symmetric integrity verification process. For instance, in some embodiments, the method applies the hashing function at the device by (1) applying the hashing function to the particular portion to generate a hash digest, and (2) supplying the digest and the received signature to a signature verifying process that determines the authenticity of the signature based on the supplied digest. Alternatively, in some embodiments, the method applies the hashing function at the device by (1) generating a second signature based on the hash digest, and (2) comparing first and second signatures to determine the integrity of the supplied digital content.

The source of the digital content can be different in different embodiments. For instance, the source can be the content's author, distributor, etc. The device that receives the digital content can also be different in different embodiments. Several examples of such a device include a portable audio/video player (e.g., iPod), a laptop, a mobile phone, etc. The digital content can also be different in different embodiments. For example, the digital content can be firmware updates to the operating system of the device, third-party applications for operating on the device, audio-video files for playing on the device, etc.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features of the invention are set forth in the appended claims. However, for purpose of explanation, several embodiments are set forth in the following figures.

FIG. 1 illustrates an integrity verification system of some embodiments of the invention.

FIG. 2 illustrate another integrity verification system of some embodiments of the invention.

FIG. 3 illustrate a DRM system that implements the integrity verification system of some embodiments of the invention.

FIG. 4 illustrates an integrity verification process performed by one or more DRM servers in some embodiments of the invention.

FIG. 5 illustrates an integrity verification process performed by a portable multi-media device of some embodiments of the invention.

FIG. 6 presents a computer system diagram that conceptually illustrates the components of a typical DRM server, user computer, or portable device that implements some embodiments of the invention.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, numerous details are set forth for the purpose of explanation. However, one of ordinary skill in the art will realize that the invention may be practiced without the use of these specific details. In other instances, well-known structures and devices are shown in block diagram form in order not to obscure the description of the invention with unnecessary detail.

I. Overview

Some embodiments of the invention provide a method of verifying the integrity digital content. At a source of the digital content, the method generates a signature for the digital content by applying a hashing function to a particular portion of the digital content, where the particular portion is less than the entire digital content. The method supplies the signature and the digital content to a device. At the device, the method applies the hashing function to the particular portion of the digital content in order to verify the integrity the supplied signature, and thereby verify the integrity of the supplied digital content.

The particular portion of the digital content includes several different sections of the digital content. In some embodiments, the method configures the source and the device to select a predetermined set of sections of the digital content as the particular portion of the digital content. The device in some embodiments includes a read-only memory that (1) stores code for identifying the particular potion, and (2) stores the hashing function.

In some embodiments, the method generates a signature for the digital content at the source by (1) applying the hashing function to the particular portion to generate a hash digest, and then (2) generating the signature from the hash digest. The method can be implemented in either an asymmetric or symmetric integrity verification process. For instance, in some embodiments, the method applies the hashing function at the device by (1) applying the hashing function to the particular portion to generate a hash digest, and (2) supplying the digest and the received signature to a signature verifying process that determines the authenticity of the signature based on the supplied digest. Alternatively, in some embodiments, the method applies the hashing function at the device by (1) generating a second signature based on the hash digest, and (2) comparing first and second signatures to determine the integrity of the supplied digital content.

The source of the digital content can be different in different embodiments. For instance, the source can be the content's author, distributor, etc. The device that receives the digital content can also be different in different embodiments. Several examples of such a device include a portable audio/video player (e.g., iPod), a laptop, a mobile phone, etc. The digital content can also be different in different embodiments. For example, the digital content can be firmware updates to the operating system of the device, third-party applications for operating on the device, audio/video files for playing on the device, etc.

II. Integrity Verification Systems of Some Embodiments

FIG. 1 conceptually illustrates a more detailed version of an integrity verification system 100 of some embodiment of the invention. As shown in this figure, this system includes a content source device 110 and a content receiving device 115. As shown in FIG. 1, the content source device 110 supplies at least one piece of digital content 105 to the content receiving device 115. A content source is any party involved in the content's creation, sale or distribution. Examples of such a party include the content's author, seller, distributor, etc. The content source device 110 can be a set of one or more stationary or portable devices, computers, servers, etc.

As shown in FIG. 1, the content source device 110 performs a hashing process 120 and a signature generation process 130. The hashing process 120 applies a hash function to only a portion of the digital content 105. This portion is a particular pattern of bits 125 that are conceptually shown as blacked out sections of the digital content 105 in FIG. 1.

In some embodiments, this bit pattern is specified in a manner (e.g., by the content source device 110, by a DRM server that directs the device 110, etc.) that ensures that enough of the digital content is hashed to achieve three objectives. First, the bit pattern should be specified so that any tampering with the digital content will require tampering of one of the sections that are hashed, which would make the tampering apparent as tampering would change the eventual signature. Second, the bit pattern should be specified so that two different pieces of digital content hashed by the process 120 do not collide (i.e., do not produce the same hash). Third, as the content receiving device 115 will use the same bit pattern for its hashing process, the bit pattern should use the smallest amount of bits that achieve the first two objective, so that the hashing process will minimally use the computational resources of the content receiving device 115.

The hashing process 120 is configured to select the bit pattern 125 pseduo-randomly in some embodiments, or systematically (e.g., based on an ordered pattern of bytes) in other embodiments. For instance, in some embodiments, the digital content can be object code for a program (such as the operating system of the content receiving device 115, a third party application that runs on the content receiving device 115, etc.).

In some of these embodiments, the code includes a set of opcodes (i.e., instruction codes) and zero or more operands (i.e., zero or more pieces of data) for each opcode. Accordingly, some of these embodiments apply the hash function to as much of the opcodes and operands to maximize detection of tampering, to minimize hash collisions, and to minimize use of computational resources.

For instance, in some embodiments, the content receiving device uses an ARM microprocessor. In such a microprocessor, every line of object code (that includes an opcode and its associated operand) is called a microprocessor operation unit (MOU), which has a four-byte statistical length. Hence, some embodiments use the four-byte width to identify the boundary between each line of code, and then use this knowledge to select one or more bytes between each MOU. The selection of the byte among the MOU may have different implementations in different embodiments. Some embodiments include a pseudo random mix of opcodes and operands in the bit pattern that needs to be hashed. Other embodiments might only include opcodes (e.g., most or all opcodes) in a piece of code that is being hashed and signed. Yet other embodiments may select a determined byte (e.g., always the first one) in each line of instructions. Some embodiments use a secret function that, for each MOU, produces an integer modulus of the MOU length and then select the section or sections in the MOU that correspond to this modulus. Other embodiments might use other microprocessors, such as microprocessors provided by Motorola Corporation, Intel Corporation, AMD Corporation, IBM Corporation, etc.

In different embodiments, the hashing process 120 applies a different hashing function to the particular portion of the digital content. Examples of hashing functions that are used in different embodiments include MD5, SHA-1, etc. Hashing functions may be used with or without a key (i.e., hashing functions may be keyed hashing functions).

As mentioned above, a hashing function is a transformation that typically takes some form (e.g., a plaintext form) of content and transforms it into a scrambled output called the digest or hash. The digest typically has a fixed-size set of bits that serves as a unique “digital fingerprint” for the original content. If the original message is changed and hashed again, it has a very high probability of producing a different digest. Thus, hash functions can be used to detect altered and forged documents. They provide message integrity, assuring a content recipient that the content has not been altered or corrupted.

As shown in FIG. 1, the signature generator 130 receives the digest that the hashing function of the hashing process 120 produces. The signature generator 130 produces a signature 147 for the content 105 from the received digest 145. To produce such a signature, the generator 130 can use any one of a number of known techniques such as: SHA-1, MD5 MAC.

In the system 100, the digital content 105 and the generated signature 147 are supplied to the content receiving device 115 as shown in FIG. 1. Different embodiments supply this data to the receiving device 115 differently. For instance, some embodiments distribute this data through a communication network, such a local area network, a wide are network, or a network of networks (e.g., the Internet). Furthermore, through a network, the content receiving device 115 can receive this data directly from the creator, seller, or distributor of the content, or indirectly through one or more intervening servers, such as one or more DRM servers, content caching servers, etc.

A content recipient is any party involved in the content's use or distribution of content. Examples of such a party include the content's user, distributor, etc. The content receiving device 115 can be a stationary or portable device, computer, server, audio/video player, a communication device (e.g., phone, pager, text messenger, etc.), organizer, etc.

In the system 100, the content source device 110 and the content receiving device 115 employ an asymmetric integrity verification process. Accordingly, the content receiving device 115 performs two processes, a hashing process 135 and a signature-verification process 140.

The hashing process 135 applies the same hash function to the same sections of the digital content 105 as the hashing process 120 of the content source device 110. Specifically, in some embodiments, the hashing process 135 of the receiving device 115 is configured to select the same bit patterns in the digital content 105 as the hashing process 120 of the content source device 110. FIG. 1 illustrates this conceptually by showing that the hashing processes 120 and 135 use identical blacked-out bit patterns 125 in the digital content 105. The hashing process 135 selection of the same bit pattern 125 might be done through a pseduo-random or systematic manner that leads to the selection of the same bit pattern as the hashing process 120.

Applying the hashing function of the hashing process 135 to the content 105 produces a digest 149. This digest should be identical to the digest 145 produced by the hashing function of the hashing process 120 when the digital content received by the processes 120 and 135 are the same, as both processes select the same set of sections in the digital content.

As shown in FIG. 1, the signature verifier 140 receives the digest 149 that the hashing function of the hashing process 135 produces. The signature verifier 140 also receives the signature 147 produced by the signature generator 130 of the content source device 110. The verifier 140 then determines whether the received signature 147 is the correct signature for the received digital content 105, by ensuring that the signature 147 is appropriate for the digest 149. To ensure that the signature 147 is appropriate for the digest 149, the verifier 140 can use any one of a number of known techniques, such as SHA-1 or MD5.

Based on its comparison of the digest 149 and the signature 147, the signature verifier 140 then outputs an integrity check value 151. This value specifies whether the received signature 147 is the appropriate signature for the received digital content 105. For instance, in some embodiments, the integrity check value is a Boolean value, which is true when the digital content's integrity is verified (i.e., when the received signature matches the received digital content), and is false when the digital content's integrity is not verified. In other embodiments, the integrity check value is any other type of two-state value, with one state indicating that the digital content integrity is verified and the other state indicating that the digital content integrity is not verified. The integrity check will specify that the content integrity is not verified when one or more parts of the digital content are tampered after the signature 147 is generated and these parts include one or more content sections that are used to generate the hash digests 145 and 149.

Other embodiments might be implemented in different integrity verification systems. For instance, FIG. 2 illustrates one implementation of the invention in a symmetric integrity verification system 200. The system 200 is similar to the system 100 except that its content receiving device 115 does not include the asymmetric signature verifier 140 but includes a signature generator 240 and a symmetric signature verifier 250.

Like the signature generator 130 of the content source device 110, the signature generator 240 generates a signature 253 from the hash digest 149 that it receives. The generated signature 253 is then supplied to the signature verifier 250 along with the received signature 147. The verifier 250 then compares the two signatures to specify its integrity check value 151. The integrity check value 151 indicates that the received digital content has not been tampered when the two signatures 147 and 253 match. When these two signatures do not match, the integrity check value indicates that the content has been tampered (i.e., the received signature 147 does not correspond to the received digital content).

To conceptually illustrate that different portions of the digital content can be hashed in different embodiments or for different pieces of content, FIG. 2 illustrates a different blacked-out bit pattern 225 in the content 105 than the pattern illustrated in FIG. 1. The sections blacked out in FIG. 2 have different lengths in order to conceptually illustrate that sections of different sizes can be hashed in some embodiments of the invention.

III. DRM System Implementing the Integrity Verification System of Some Embodiments

The integrity verification system of some embodiments is implemented in a DRM system that distributes content in a manner that ensures the legal use of the content. As shown in FIG. 3, the DRM system 300 includes a set of DRM servers 310 that distribute content to a set of N user computers 315. The set of servers 310 connects to the user computers 315 through a computer network 320, such as a local area network, a wide area network, a network of networks (e.g., the Internet), etc. Each user computer 315 connects to a set of one or more portable multi-media devices 330.

Through the network connection, the user computers 315 communicate with the set of DRM servers 310 to purchase, license, update, or otherwise obtain content in some embodiments. Accordingly, while in some embodiments, the DRM server set 310 sells or licenses content to the user computers, this set in other embodiments does not sell or license the content. For instance, in some of embodiments, the DRM server set 310 simply enforces the distribution of content to authorized computers without having any financial objective.

In some embodiments, the DRM server set 310 includes a content caching server that provides encrypted content to a user computer 310 through the network 320, after another DRM server 310 determines that the computer 310 can obtain the content. In some embodiments, the system 300 uses multiple caching servers to cache content at various locations on the network, in order to improve the speed and efficiency of downloading content across the network.

As mentioned above, a user computer 315 communicates with the DRM server set 310 to purchase, license, update, or otherwise obtain content through the network 320. In some embodiments, the DRM server set 310 supplies a signature for a piece of content that it distributes to a user computer 315, where this signature is generated by hashing only a portion of the content, according to some embodiments of the invention.

Specifically, FIG. 3 illustrates a user computer 315 a sending a request for a piece of content “A” to the DRM server set 310. This request can be a request to purchase, license, or otherwise obtain the content. Alternatively, when the content is an application or operating system running on the user computer or one of its associated multi-media devices 330, the request might be a request for an update to the application or operating system. This request might be an explicit request or an implicit request in an update checking process performed on the user computer 315, which with or without the user intervention checks for updates to the application or operating system.

As shown in FIG. 3, the DRM server set 310 receives the request for content A from the user computer 315 a. One or more of the DRM computers then perform the process 400 illustrated in FIG. 4 to generate a signature for the requested content A. As shown in FIG. 4, the process 400 initially generates (at 405) a digest by applying a hash function to only a portion of the requested content A. Application of a hash function to only a portion of a piece of content was described in Sections I and II above. As mentioned above and further described below, the process 400 applies the hash function to the same portion of the content A as the hashing functions of the user computer 315 a and its associated multi-media device 330 a.

After applying the hashing function at 405, the process 410 generates (at 410) a signature based on the hash digest produced at 405. Generating a signature based on the hash digest was described above in Sections I and II. After generating the signature at 410, the process supplies the requested content A and its associated signature to the user computer 315 a, and then ends.

In some embodiments, the user computer 315 a uses the supplied signature to verify the integrity of the received content A. To do this, the user computer 315 a would generate a hash digest for the content A by applying the hashing function to the same portion of the content A as the hashing function of the DRM server set 310. It then uses this hash digest to verify the integrity of the signature by using an asymmetric signature-verifying approach (such as the one illustrated in FIG. 1) or a symmetric signature-verifying approach (such as the one illustrated in FIG. 2).

In some embodiments, a multi-media device 330 a of the user computer 315 a also receives the content A and the signature A for this content when it synchronizes with the computer 315 a. Accordingly, when the content A is content that is intended for the multi-media device 330 a, the user computer 315 a in some embodiments records (e.g., in a data storage) the need to download the content A and its signature to the device 330 a when the device 330 a synchronizes next with the computer 315 a.

Like the user computer 315 a, the multi-media device 330 a generate a hash digest for the content A by applying the hashing function to the same portion of the content A as the hashing function of the DRM server set 310. It then uses this hash digest to verify the integrity of the content by using an asymmetric signature-verifying approach (such as the one illustrated in FIG. 1) or a symmetric signature-verifying approach (such as the one illustrated in FIG. 2).

FIG. 5 illustrates a more detailed example of the integrity verification process 500 that the multi-media device 330 a performs in some embodiments. This process is performed during a synchronization operation that loads executable content (i.e., code for operating system updates, for updates to existing applications, for new applications, etc.) on the multi-media device 330 a. As shown in this figure, the process 500 initially receives (at 505) executable content and signature for this content during a synchronization operation that ensures that the device has all the content that the user computer indicates that is should have.

After the synchronization, the process restarts (at 510) the device because, in some embodiments, the integrity verification process is part of the start-up boot sequence. Specifically, in some embodiments, the start-up boot sequence performs an integrity verification process for each piece of newly received code, even though in the example illustrated in FIG. 5, it is assumed that only one piece of content is loaded onto the device at 505. In some embodiments, the boot sequence (including the integrity verification process) are stores in a non-volatile read only memory of the device 315 a. This ensures that integrity verification process cannot be tampered after the sale of the device.

Accordingly, during the start-up boot sequence, the process 500 generates (at 515) a hash digest for the received content by applying the hashing function to the same portion of the content as the hashing function of the DRM server set 310. It then uses (at 520) this hash digest to verify the integrity of the signature. For instance, the process 500 can use an asymmetric signature-verifying approach (such as the one illustrated in FIG. 1) or a symmetric signature-verifying approach (such as the one illustrated in FIG. 2).

When the process cannot verify (at 520) the integrity of the newly received code (i.e., when the newly received signature does not correspond to the digest generated by the device for the newly received content), the process ends without specifying that the content can be loaded in the executable memory. Alternatively, when the process verifies (at 520) the integrity of the newly received code, the process specifies (at 525) that the code is executable. In some embodiments, the process loads (at 525) the code in executable memory and executes the code.

The DRM system 300 of FIG. 3 has more than one user computer that receives digital content and signatures for such content according to the integrity verification procedures of some embodiments of the invention. Specifically, FIG. 3 illustrates a user computer 315 n that requests a piece of content (i.e., content B) from the DRM server set 310. As shown in this figure, the user computer 315 n receives the requested content B and a signature for this content from the DRM server set 310. According to the invention, the signature for content B is produced by hashing only a portion of the content B. The user computer 315 n and its associated set of portable devices 330 then verify the integrity of the content B by hashing the same portion of content B as the DRM server set, in much the same manner as was described above for the user computer 315 a and its associated devices 330 a.

IV. System Diagram

FIG. 6 presents a computer system diagram that conceptually illustrates the components of a typical DRM server, user computer, or portable device that implements some embodiments of the invention. Computer system 600 includes a bus 605, a processor 610, a system memory 615, a read-only memory 620, a permanent storage device 625, input devices 630, and output devices 3035.

The bus 605 collectively represents all system, peripheral, and chipset buses that support communication among internal devices of the computer system 600. For instance, the bus 605 communicatively connects the processor 610 with the read-only memory 620, the system memory 615, and the permanent storage device 625.

From these various memory units, the processor 610 retrieves instructions to execute and data to process in order to execute the processes of the invention. The read-only-memory (ROM) 620 stores static data and instructions that are needed by the processor 610 and other modules of the computer system. In case of a portable device that implements the invention, the read-only memory stores the boot up sequence and the hashing process of some embodiments, as mentioned above.

The permanent storage device 625, on the other hand, is a read-and-write memory device. This device is a non-volatile memory unit that stores instruction and data even when the computer system 600 is off. Some embodiments of the invention use a mass-storage device (such as a magnetic or optical disk and its corresponding disk drive) as the permanent storage device 625. Other embodiments use a removable storage device (such as a memory card or memory stick) as the permanent storage device.

Like the permanent storage device 625, the system memory 615 is a read-and-write memory device. However, unlike storage device 625, the system memory is a volatile read-and-write memory, such as a random access memory. The system memory stores some of the instructions and data that the processor needs at runtime. In some embodiments, the invention's processes are stored in the system memory 615, the permanent storage device 625, and/or the read-only memory 620.

The bus 605 also connects to the input and output devices 630 and 635. The input devices enable the user to communicate information and select commands to the computer system. The input devices 630 include alphanumeric keyboards and cursor-controllers. The output devices 635 display images generated by the computer system. The output devices include printers and display devices, such as cathode ray tubes (CRT) or liquid crystal displays (LCD).

Finally, as shown in FIG. 6, certain configurations of the computer 600 also include a network adapter 640 that connects to the bus 605. Through the network adapter 640, the computer can be a part of a network of computers (such as a local area network (“LAN”), a wide area network (“WAN”), or an Intranet) or a network of networks (such as the Internet). Any or all of the components of computer system 600 may be used in conjunction with the invention. However, one of ordinary skill in the art will appreciate that any other system configuration may also be used in conjunction with the invention.

V. Advantages

One of ordinary skill in the art will understand that the above described integrity verification processes have several advantages. For instance, when loading new executable code on a device, it is important to verify the integrity of the code because such code provides opportune time for attacking the device. The integrity processes described above provide an easy way to check the integrity of the code even on portable devices with limited computation resources.

Also, some embodiments incorporate the integrity verification procedures during the start-up boot sequence of the device in order to minimize the possibility of tampering with the integrity procedure. To further minimize this possibility, some embodiments have the integrity processes stored on a read-only memory of the device.

While the invention has been described with reference to numerous specific details, one of ordinary skill in the art will recognize that the invention can be embodied in other specific forms without departing from the spirit of the invention. For instance, as mentioned above, some embodiments might use a keyed hashing function. If a key is used, both symmetric (single secret key) and asymmetric keys (public/private key pairs) may be used. One example of a keyed hash function is a keyed MD5 technique. Basically, a sender appends a randomly generated key to the end of a message, and then hashes the message and key combination using an MD5 hash to create a message digest. Next, the key is removed from the message and encrypted with the sender's private key. The message, message digest, and encrypted key are sent to the recipient, who opens the key with the sender's public key (thus validating that the message is actually from the sender). The recipient then appends the key to the message and runs the same hash as the sender. The message digest should match the message digest sent with the message.

Also, several embodiments described above select bit patterns in the object code format of a content. Other embodiments might select other patterns of sections when the content is in another format (e.g., is in a source code or XML format). Thus, one of ordinary skill in the art would understand that the invention is not to be limited by the foregoing illustrative details, but rather is to be defined by the appended claims. 

1. A method comprising: a) at a source of the digital content, generating a signature for the digital content by applying a hashing function to a particular portion of the digital content, said particular portion not including all of the digital content; b) supplying the signature and the digital content to a device; and c) at the device, applying the hashing function to the particular portion of the digital content to verify the signature supplied with the digital content, and thereby verify the integrity of the supplied digital content.
 2. The method of claim 1 further comprising: a) at the source of the digital content, selecting a plurality of different sections of the digital content as the particular portion of the digital content; and b) at the device, selecting the same plurality of different sections of the digital content as the particular portion of the digital content.
 3. The method of claim 1 further comprising configuring the source and the device to select a predetermined set of sections of the digital content as the particular portion of the digital content.
 4. The method of claim 3, wherein the predetermined set of sections defines a particular pattern of bits in the digital content.
 5. The method of claim 3 further comprising storing data for configuring the device in a read-only memory of the device.
 6. The method of claim 1 further comprising storing code that identifies the particular portion in a read-only memory of the device.
 7. The method of claim 1 further comprising storing the hashing function in a read-only memory of the device.
 8. The method of claim 1, wherein generating a signature for the digital content at the source of the digital content comprises: a) applying the hashing function to the particular portion to generate a hash; and b) generating the signature from the hash.
 9. The method of claim 1, wherein applying at the device the hashing function to the particular portion comprises: a) applying the hashing function to the particular portion to generate a hash; and b) using the generated hash to verify the integrity of the supplied signature.
 10. The method of claim 9 further comprising at the device, supplying the generated hash and the signature to a signature verifying process that determines the authenticity of the signature based on the supplied hash.
 11. The method of claim 9, wherein the signature supplied to the device is a first signature, wherein using the generated hash comprises: a) at the device, generating a second signature based on the generated hash; and b) at the device, comparing first and second signatures to determine the integrity of the supplied digital content.
 12. The method of claim 1, wherein the source is an author of the digital content.
 13. The method of claim 1, wherein the source is a distributor of the digital content in a digital right management system.
 14. The method of claim 1, wherein the digital content includes code for executing on the device, wherein applying the hashing function at the device comprises applying the hashing function before loading the code in executable memory.
 15. The method of claim 1, wherein the digital content includes code for modifying an operating system of the device.
 16. The method of claim 1, wherein the digital content includes an application program provided by a party other than the manufacturer of the device.
 17. A method comprising: a. for a particular content, generating a digital signature from only a portion of the particular content; and b. providing the digital signature.
 18. The method of claim 17, wherein generating the digital signature comprises: using a hash function on only the portion of the particular content to generate a hash; generating the digital signature from the hash.
 19. The method of claim 18 further comprising selecting the particular portion of the particular content.
 20. The method of claim 19, wherein selecting the particular portion comprises selecting a portion to maximize detection of tampering of the particular content.
 21. The method of claim 19, wherein selecting the particular portion comprises selecting a portion to minimize collisions of hashes.
 22. The method of claim 19, wherein selecting the particular portion comprises selecting a portion to minimize computational resources.
 23. The method of claim 17 further comprising selecting the particular portion of the particular content based on an ordered pattern of bits in the particular content.
 24. The method of claim 17 further comprising selecting the particular portion of the particular content based on a pseudo-random operation.
 25. The method of claim 17, wherein the particular content comprises video information.
 26. The method of claim 17, wherein the particular content comprises audio information.
 27. The method of claim 17, wherein the particular content comprises update for firmware of a particular device.
 28. The method of claim 17, wherein the particular content is an application for operating on a particular device.
 29. The method of claim 17, wherein the device is a portable player.
 30. The method of claim 17, wherein the particular content comprises an object code.
 31. The method of claim 30, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises only opcodes.
 32. The method of claim 30, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises opcodes and operands.
 33. The method of claim 17 further comprising providing the particular content.
 34. A computer readable medium storing a computer program that is executable by at least one processor, the computer program comprising sets of instructions for: a. generating, for a particular content, a digital signature from only a portion of the particular content; and b. providing the digital signature.
 35. The computer readable medium of claim 34, wherein the set of instructions for generating the digital signature comprises sets of instructions for: using a hash function on only the portion of the particular content to generate a hash; generating the digital signature from the hash.
 36. The computer readable medium of claim 34, wherein the computer program further comprises a set of instructions for selecting the particular portion of the particular content based on an ordered pattern of bits in the particular content.
 37. The computer readable medium of claim 34, wherein the computer program further comprises a set of instructions for selecting the particular portion of the particular content based on a pseudo-random operation.
 38. The computer readable medium of claim 34, wherein the particular content comprises an object code.
 39. The computer readable medium of claim 38, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises only opcodes.
 40. The computer readable medium of claim 38, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises opcodes and operands.
 41. The computer readable medium of claim 34, wherein the computer program further comprises a set of instructions for providing the particular content.
 42. A method comprising: a. receiving a particular content; and b. verifying the authenticity of the particular content by using a digital signature that is derived from only a portion of the particular content.
 43. The method of claim 42, wherein the digital signature is derived from a hash that is generated by using a hash function on only the portion of the particular content.
 44. The method of claim 42, wherein verifying the authenticity of the particular content comprises using an asymmetric integrity process.
 45. The method of claim 44, wherein using the asymmetric integrity process comprises: a. computing a particular hash for only the portion of the received particular content; and b. determining whether the particular hash is appropriate for the received digital signature.
 46. The method of claim 45 further comprising generating an integrity check value to indicate whether the particular hash is appropriate for the received digital signature.
 47. The method of claim 45, wherein the particular content is verified as authentic when it is determined that the particular hash is appropriate for the received digital signature.
 48. The method of claim 42, wherein verifying the authenticity of the particular content comprises using a symmetric integrity process.
 49. The method of claim 48, wherein using the symmetric integrity process comprises: a. generating a particular hash for only the portion of the received particular content; b. generating another digital signature based on the particular hash; and c. determining whether the received digital signature matches the other digital signature.
 50. The method of claim 49, wherein the particular content is verified as authentic when it is determined that the two digital signatures match.
 51. The method of claim 42 further comprising selecting the particular portion of the particular content based on an ordered pattern of bits in the particular content.
 52. The method of claim 42 further comprising selecting the particular portion of the particular content based on a pseudo-random operation.
 53. The method of claim 42, wherein the particular content comprises video information.
 54. The method of claim 42, wherein the particular content comprises audio information.
 55. The method of claim 42, wherein the particular content comprises update for firmware of a particular device.
 56. The method of claim 42, wherein the particular content is an application for operating on a particular device.
 57. The method of claim 42, wherein the device is a portable player.
 58. The method of claim 42, wherein the particular content comprises an object code, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises only opcodes.
 59. The method of claim 42, wherein the particular content comprises an object code, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises opcodes and operands.
 60. The method of claim 42 further comprising performing a synchronization operation with a device to receive the particular content and digital signature.
 61. The method of claim 60, wherein the device is a first device, wherein the receiving, verifying, and performing are performed by a second device.
 62. The method of claim 61, wherein the verifying is performed during a boot-up sequence of the second device.
 63. The method of claim 42, wherein the verifying is performed at least partly by a set of instructions that is stored in a read-only memory of a device.
 64. A computer readable medium comprising a computer program, which is executable by at least one processor, the computer program comprising sets of instructions for a. receiving a particular content; and b. verifying the authenticity of the particular content by using a digital signature derived from only a portion of the particular content.
 65. The computer readable medium of claim 64, wherein the digital signature is derived from a hash that is generated by using a hash function on only the portion of the particular content.
 66. The computer readable medium of claim 64, wherein the set of instructions for verifying the authenticity of the particular content comprises a set of instructions for using an asymmetric integrity process.
 67. The computer readable medium of claim 66, wherein the set of instructions for using the asymmetric integrity process comprises sets of instructions for: a. computing a particular hash for only the portion of the received particular content; and b. determining whether the particular hash is appropriate for the received digital signature.
 68. The computer readable medium of claim 67, wherein the particular content is verified as authentic when it is determined that the particular hash is appropriate for the received digital signature.
 69. The computer readable medium of claim 64, wherein the set of instructions for verifying the authenticity of the particular content comprises a set of instructions for using a symmetric integrity process.
 70. The computer readable medium of claim 69, wherein a set of instructions for using the symmetric integrity process comprises sets of instructions for: a. generating a particular hash for only the portion of the received particular content; b. generating another digital signature based on the particular hash; and c. determining whether the received digital signature matches the other digital signature.
 71. The computer readable medium of claim 70, wherein the particular content is verified as authentic when it is determined that the two digital signatures match.
 72. The computer readable medium of claim 64, wherein the particular content comprises an object code, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises only opcodes.
 73. The computer readable medium of claim 64, wherein the particular content comprises an object code, wherein the object code comprises a set of opcodes and associated set of operands, wherein the particular portion comprises opcodes and operands.
 74. The computer readable medium of claim 64 further comprising a set of instructions for performing a synchronization operation with a device to receive the particular content and digital signature, wherein the device is a first device, wherein the set of instructions for receiving, verifying, and performing are performed by a second device.
 75. The computer readable medium of claim 74, wherein the set of instructions for verifying is performed during a boot-up sequence of the second device.
 76. The computer readable medium of claim 64, wherein the set of instructions for verifying is performed at least partly by a set of instructions that is stored in a read-only memory of a device.
 77. A device for accessing content, the device comprising: a. a storage for storing the particular content; and b. an electronic component for utilizing a digital signature to authenticate the content, the digital signature being derived from only a portion of the particular content.
 78. The device of claim 77, wherein the electronic component is further for generating the digital signature from only the portion of the particular content.
 79. The device of claim 78, wherein the electronic component generates the digital signature by first generating a hash from only the portion of the particular content and then generating the digital signature from the generated hash.
 80. The device of claim 78, wherein the electronic component utilizes the digital signature by comparing the generated digital signature to a digital signature that the device receives.
 81. The device of claim 77, wherein the digital signature is a signature that the device receives.
 82. The device of claim 77, wherein the device is a computer.
 83. The device of claim 77, wherein the device is a portable player.
 84. The device of claim 77 further comprising a read-memory for storing a set of instructions for utilizing the digital signature to authenticate the content.
 85. The device of claim 84, wherein the set of instructions comprise instructions for generating the digital signature from only the portion of the particular content.
 86. A system for distributing content, the system comprising: a. a set of computers for providing a particular content; and b. a device for utilizing a digital signature to authenticate the particular content, wherein the digital signature is derived from only a portion of the particular content.
 87. The system of claim 86, wherein the set of computers comprises one computer.
 88. The system of claim 86, wherein the set of computers comprises more than one computer.
 89. The system of claim 86, wherein the digital signature is a signature provided by the set of computers.
 90. The system of claim 89, wherein the device utilizes the digital signature by determining whether a hash computed by the device is appropriate for the provided digital signature.
 91. The system of claim 86, wherein the digital signature is generated by the device.
 92. The system of claim 91, wherein the device utilizes the digital signature by comparing the digital signature generated by the device to another digital signature provided by the set of computers. 